package com.ruoyi.gjhf.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.gjhf.mapper.GjhfTcxqMapper;
import com.ruoyi.gjhf.domain.GjhfTcxq;
import com.ruoyi.gjhf.service.IGjhfTcxqService;

/**
 * 轨迹回放_停车详情Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-07
 */
@Service
public class GjhfTcxqServiceImpl implements IGjhfTcxqService 
{
    @Autowired
    private GjhfTcxqMapper gjhfTcxqMapper;

    /**
     * 查询轨迹回放_停车详情
     * 
     * @param id 轨迹回放_停车详情主键
     * @return 轨迹回放_停车详情
     */
    @Override
    public GjhfTcxq selectGjhfTcxqById(Long id)
    {
        return gjhfTcxqMapper.selectGjhfTcxqById(id);
    }

    /**
     * 查询轨迹回放_停车详情列表
     * 
     * @param gjhfTcxq 轨迹回放_停车详情
     * @return 轨迹回放_停车详情
     */
    @Override
    public List<GjhfTcxq> selectGjhfTcxqList(GjhfTcxq gjhfTcxq)
    {
        return gjhfTcxqMapper.selectGjhfTcxqList(gjhfTcxq);
    }

    /**
     * 新增轨迹回放_停车详情
     * 
     * @param gjhfTcxq 轨迹回放_停车详情
     * @return 结果
     */
    @Override
    public int insertGjhfTcxq(GjhfTcxq gjhfTcxq)
    {
        return gjhfTcxqMapper.insertGjhfTcxq(gjhfTcxq);
    }

    /**
     * 修改轨迹回放_停车详情
     * 
     * @param gjhfTcxq 轨迹回放_停车详情
     * @return 结果
     */
    @Override
    public int updateGjhfTcxq(GjhfTcxq gjhfTcxq)
    {
        return gjhfTcxqMapper.updateGjhfTcxq(gjhfTcxq);
    }

    /**
     * 批量删除轨迹回放_停车详情
     * 
     * @param ids 需要删除的轨迹回放_停车详情主键
     * @return 结果
     */
    @Override
    public int deleteGjhfTcxqByIds(Long[] ids)
    {
        return gjhfTcxqMapper.deleteGjhfTcxqByIds(ids);
    }

    /**
     * 删除轨迹回放_停车详情信息
     * 
     * @param id 轨迹回放_停车详情主键
     * @return 结果
     */
    @Override
    public int deleteGjhfTcxqById(Long id)
    {
        return gjhfTcxqMapper.deleteGjhfTcxqById(id);
    }
}
